﻿#ifndef YUVMAINWINDOW_H
#define YUVMAINWINDOW_H

#include <QMainWindow>
#include <QHBoxLayout>
#include <QPushButton>

class YUVCenterWidget;

class YUVMainWindow : public QMainWindow
{
    Q_OBJECT
public:
    explicit YUVMainWindow(QWidget *parent = Q_NULLPTR);
    ~YUVMainWindow();

private:
    void createFileMenu();
    void createToolMenu();
    void createHelpMenu();

private:
    YUVCenterWidget *m_pCenterWidget;

    QAction *m_pOpen;
    QAction *m_pExit;
    QString  m_OpenFilePath;
    QWidget *m_pMenuWidget;
    QMenu   *pFileMenu;
    QMenu   *pToolMenu;
    QMenu *pHelpMenu ;

private slots:
   void  triggeredOpen();
   void  triggeredExit();

};

#endif // YUVMAINWINDOW_H
